package com.li.sqlparse.entity;

/**
 * @author admin
 */
public class SqlConstant {

    private SqlConstant() {
    }

    /**
     * 成功日志输出格式
     */
    public static final String LOG_SUCCESS = "=====> ";
    /**
     * 错误日志输出格式
     */
    public static final String LOG_ERROR = "=====> Error Occur：";

    /**
     * Sql中 Set关键字
     */
    public static final String SET = "SET";
    /**
     * Sql中 Declare关键字
     */
    public static final String DECLARE = "DECLARE";
    /**
     * Sql中 Insert关键字
     */
    public static final String INSERT = "INSERT";
    /**
     * Sql中 Delete关键字
     */
    public static final String DELETE = "DELETE";
    /**
     * Sql中 Update关键字
     */
    public static final String UPDATE = "UPDATE";
    /**
     * Sql中 Create关键字
     */
    public static final String CREATE = "CREATE";

    /**
     * Sellect
     */
    public static final String SELECT = "SELECT";

    /**
     * JOIN
     */
    public static final CharSequence JOIN = "JOIN";

    /**
     * Sql 触发器语句End
     */
    public static final String END = "END";

    /**
     * Sql 最外层解析到的节点的ID
     */
    public static final String ROOT_ID = "0";

    /**
     * Sql Into 语句
     */
    public static final CharSequence INTO = "INTO";

    /**
     * Sql 中的As
     */
    public static final CharSequence AS = "AS";

    /**
     * Sql select into
     */
    public static final String SELECT_INTO = "SELECT_INTO";

    /**
     * Sql INSERT_INTO_SELECT
     */
    public static final String INSERT_INTO_SELECT = "INSERT_INTO_SELECT";
}